package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.PaymentExample;
import com.ymttest.database.sharding.db.sharding.model.PaymentPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PaymentMapper {
    int countByExample(PaymentExample example);

    int deleteByExample(PaymentExample example);

    int deleteByPrimaryKey(Long paymentId);

    int insert(PaymentPo record);

    int insertSelective(PaymentPo record);

    List<PaymentPo> selectByExample(PaymentExample example);

    PaymentPo selectByPrimaryKey(Long paymentId);

    int updateByExampleSelective(@Param("record") PaymentPo record, @Param("example") PaymentExample example);

    int updateByExample(@Param("record") PaymentPo record, @Param("example") PaymentExample example);

    int updateByPrimaryKeySelective(PaymentPo record);

    int updateByPrimaryKey(PaymentPo record);
}